import React, { Component } from "react";
import "./index.scss";
import { connect } from "react-redux";
import { refresh } from "@/component/scroll/index2";
import MainLayout from "../../../component/mainLayout/mainLayout";
class creditScore extends Component {
	constructor(props) {
		super(props);
		this.state = {
			loaded: false
		};
	}
	onLoad = () => {
		this.setState({
			loaded: true
		});
	};
	render() {
		let _pageParams = {
			header: {
				title: "关于额度"
			},
			history: this.props.history
		};

		return (
			<MainLayout pageParams={_pageParams} isScroll={true}>
				<img
					className="bg-img"
					onLoad={refresh}
					src="https://jrcdn.yonghui.cn/yhjrActivity/coupon/creditScore_up01.png"
					alt=""
				/>
			</MainLayout>
		);
	}
}
const creditScorePage = connect()(creditScore);
export default creditScorePage;
